from shiny.express import input, render, ui
from utils import square

ui.input_slider("n", "N", 0, 100, 20)


@render.code
def txt():
    val = square(input.n())
    return f"{input.n()} squared is {val}"
